package hcn.mch.response;

import com.fasterxml.jackson.annotation.JsonProperty;

import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

/**
 * @author fzy91
 * @title: PremaritalInfectiousDiseases
 * @projectName GOL-ssdev4
 * @description: 婚前医学检查感染性疾病筛查
 * @date 2022/11/811:01
 */
public class PremaritalInfectiousDiseases implements Serializable {
    /*乙型肝炎表面抗原，0阴性，1阳性*/
    private Integer hepatitisBSurfaceAntigen;
    /*梅毒螺旋体筛查，0阴性，1阳性*/
    private Integer treponemaPallidumScreening;
    /*HIV抗体检测，0阴性，1阳性*/
    private Integer HIVAntibodyTest;

    @XmlElement(name = "HepatitisBSurfaceAntigen")
    public Integer getHepatitisBSurfaceAntigen() {
        return hepatitisBSurfaceAntigen;
    }

    public void setHepatitisBSurfaceAntigen(Integer hepatitisBSurfaceAntigen) {
        this.hepatitisBSurfaceAntigen = hepatitisBSurfaceAntigen;
    }

    @XmlElement(name = "TreponemaPallidumScreening")
    public Integer getTreponemaPallidumScreening() {
        return treponemaPallidumScreening;
    }

    public void setTreponemaPallidumScreening(Integer treponemaPallidumScreening) {
        this.treponemaPallidumScreening = treponemaPallidumScreening;
    }

    @JsonProperty("HIVAntibodyTest")
    @XmlElement(name = "HIVAntibodyTest")
    public Integer getHIVAntibodyTest() {
        return HIVAntibodyTest;
    }

    public void setHIVAntibodyTest(Integer HIVAntibodyTest) {
        this.HIVAntibodyTest = HIVAntibodyTest;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"hepatitisBSurfaceAntigen\":")
                .append(hepatitisBSurfaceAntigen);
        sb.append(",\"treponemaPallidumScreening\":")
                .append(treponemaPallidumScreening);
        sb.append(",\"HIVAntibodyTest\":")
                .append(HIVAntibodyTest);
        sb.append('}');
        return sb.toString();
    }
}
